const net/http.http2NextProtoTLS
9 uses
net/http (current package)
h2_bundle.go#L3373: http2NextProtoTLS = "h2"
h2_bundle.go#L4107: if !http2strSliceContains(s.TLSConfig.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L4108: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, http2NextProtoTLS)
h2_bundle.go#L4139: s.TLSNextProto[http2NextProtoTLS] = protoHandler
h2_bundle.go#L7762: if !http2strSliceContains(cfg.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L7763: cfg.NextProtos = append([]string{http2NextProtoTLS}, cfg.NextProtos...)
h2_bundle.go#L7783: if p := state.NegotiatedProtocol; p != http2NextProtoTLS {
h2_bundle.go#L7784: return nil, fmt.Errorf("http2: unexpected ALPN protocol %q; want %q", p, http2NextProtoTLS)
server.go#L3009: return strSliceContains(srv.TLSConfig.NextProtos, http2NextProtoTLS)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |